-
-
Notifications
You must be signed in to change notification settings - Fork 398
test: Fixed runners not running 'board' integration test #2381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jq, why is it always you?!
Before merging this, we must fix the failing test. |
589266c
to
2b8d1be
Compare
2b8d1be
to
7231626
Compare
7231626
to
68be030
Compare
<<< Run completed (err = <nil>) environment.go:52: Error Trace: D:/a/arduino-cli/arduino-cli/internal/integrationtest/environment.go:52 D:/a/arduino-cli/arduino-cli/internal/integrationtest/environment.go:63 D:/a/arduino-cli/arduino-cli/internal/integrationtest/environment.go:63 D:/a/arduino-cli/arduino-cli/internal/integrationtest/environment.go:69 D:/a/arduino-cli/arduino-cli/internal/integrationtest/board/board_test.go:638 Error: Received unexpected error: remove C:\Users\runneradmin\AppData\Local\Temp\cli2634248494\A\inventory.yaml: The process cannot access the file because it is being used by another process. Test: TestCLIStartupWithCorruptedInventory --- FAIL: TestCLIStartupWithCorruptedInventory (8.45s)
c23a84b
to
7768115
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2381 +/- ##
==========================================
+ Coverage 65.16% 67.17% +2.00%
==========================================
Files 210 210
Lines 20519 20519
==========================================
+ Hits 13371 13783 +412
+ Misses 6024 5598 -426
- Partials 1124 1138 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
The
board
integration test package was skipped during integration tests. This was due to a strange behavior ofjq
, which was cutting the first package in the list unless the-n
flag was passed.The documentation of jq reports:
¯\_(ツ)_/¯
What is the current behavior?
What is the new behavior?
Does this PR introduce a breaking change, and is titled accordingly?
Other information
See https://stackoverflow.com/a/68859958/1655275